package com.yc.logging.service;

import com.yc.logging.entity.SysOperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.scheduling.annotation.Async;

/**
* @Classname SysOperLogController
* @Description
* @Version 1.0.0
* @Date 2022-08-23 12:58:56
* @Created by Mikechen
*/
public interface SysOperLogService extends IService<SysOperLog> {
    /**
     * 保存日志数据
     * @param username 用户
     * @param browser 浏览器
     * @param ip 请求IP
     * @param joinPoint /
     * @param log 日志实体
     */
    @Async
    void save(String username, String browser, String ip, ProceedingJoinPoint joinPoint, SysOperLog log);
}
